<script>
export default {
	onLaunch: function() {
		console.log('App Launch');
		let that = this;
		var statusBarHeight = uni.getSystemInfo({
			success: res => {
				let statusBarHeight = res.statusBarHeight;
				that.$store.commit('setStatusBarHeight', statusBarHeight);
				// that.$store.commit('setWindowBottom', windowBottom);
				that.$store.commit('setNavigationBarHeight', statusBarHeight + 44 + 1);
			}
		});
		that.$store.commit('upTipsFlag', true)
		//苹果底部黑条挡住
		const mobileInfo = uni.getSystemInfoSync();
		// console.log("手机信息",mobileInfo)
		uni.hideTabBar()
		
	},
	onShow: function() {
		console.log('App Show');
	},
	onHide: function() {
		console.log('App Hide');
	}
};
</script>
<!-- <style>
   page{
   	background-color: #F9F9F9;
   }
</style> -->
<style lang="scss">
/*每个页面公共css */
@import '~@/style/common.scss'; // “~”是 stylus-loader中的定义
</style>
